import layout from '@/layout'
export default {
    path: '/department',
    component: layout,//一级路由是整个navbar框架
    children: [
        {
            path: '',
            component: () => import('@/views/department/index'),//二级路由是组织架构组件
            name: 'department',
            meta: {
                //路由元信息
                icon: 'tree',
                title: '部门管理'
            }
        }
    ]
}